home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3936 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: park.uvsc.edu!usenet
  2. From: Jon Jensen <jjensen@ami-med.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: visual c++ 1.5 compiler not working in windows 95
  5. Date: Fri, 26 Jan 1996 08:05:53 -0700
  6. Organization: Utah Valley State College, Orem, Utah
  7. Message-ID: <3108EDD1.646C@ami-med.com>
  8. References: <4ducds$aei@ixnews6.ix.netcom.com>
  9. NNTP-Posting-Host: 205.218.27.66
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b4 (WinNT; I)
  14.  
  15. rykk wrote:
  16. > when i try to compile "hello world" the most basic program, my compiler tells me i
  17. > have over 102 errors and quits.  the errors it lists makes little sense. just to
  18. > verify that i am doing it right, here is what i do:
  19. > open msvc
  20. > open new,
  21. > write
  22. > #include <iostream.h>
  23. > void main()
  24. > {
  25. > cout << "hello world\n";
  26. > }
  27. > then i pull down the "project" item and chose compile am i doing it right?
  28. > thank you!
  29.  
  30. I believe you need to create a project first - make sure you 
  31. select the right target.  This will throw in all the proper 
  32. include libraries.
  33.  
  34. Jon Jensen
  35. Applied Medical Informatics
  36.